/*
 * @Author: humengchuan 531537052@qq.com
 * @Date: 2024-10-08 10:42:13
 * @LastEditors: humengchuan 531537052@qq.com
 * @LastEditTime: 2024-10-08 21:17:43
 * @FilePath: \project\work-tool\experi-api\grapql\schemaConfig.js
 * @Description: 
 */
const { buildSchema } = require('graphql')
const ListModel = require('../models/ListModel')
// listModel.create listModel.find listModel.findOne listModel.update listModel.remove

const schema = buildSchema(`
  type Query {
    hello: String
  }
`)

const root = {
  hello: () => {
    return 'Hello world11111111111!'
  }
}

module.exports = { schema, root }